package com.strato.serializer.api.v1_0_0;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;

public interface ObjectSerializer {

	public void serialize(Object object,OutputStream outputStream) throws IOException;

	public void serialize(Object object,Writer writer) throws IOException;

	public Object deserialize(InputStream inputStream) throws IOException;
	
	public Object deserialize(Reader reader) throws IOException;
}
